home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: cs.vu.nl!jalten
- From: jalten@cs.vu.nl (Alten JP)
- Subject: Re: What is "return value"?
- Nntp-Posting-Host: kits.cs.vu.nl
- References: <4csa1h$7i8_001@du.hku.hk>
- Sender: news@cs.vu.nl
- Organization: Fac. Wiskunde & Informatica, VU, Amsterdam
- Date: Thu, 11 Jan 1996 20:36:44 GMT
- X-Newsreader: TIN [version 1.2 PL2]
- Message-ID: <DL1AL9.6K8.0.-s@cs.vu.nl>
-
- Michael J.C.C.Ngan (h9500624@hkusua.hku.hk) wrote:
- : All interested in c++,
- :
- : What is the "return value"?
-
- Would seem to be the value a function would return, like
- this:
-
- int main(int,char**)
- {
- return 0;
- }
-
- Here the return value is zero, the type of the value is
- "int".
-
- Does that sound right?
-
- Have Fun,
-
- Jelle Paul
-
- --
- +-------------------------------------------------------+
- | Jelle Paul Alten | jalten@cs.vu.nl |
- | Vrije Universiteit Amsterdam | |
- +-------------------------------------------------------+
-